<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <title>Bootstrap 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <link type="text/css" rel="stylesheet" th:href="@{/css/login.css}">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h2>修改信息</h2>
    <form th:action="@{/changeAddress}" method="post">
    
    <!--将要修改人信息的id传到后台  -->
      <input type="hidden" th:value="${session.employeeMsg.id}" name="e_id">
      
    <div class="form-group">
      <label for="account">用户名:</label>
      <input class="form-control" id="account" th:placeholder="${session.employeeMsg.username}" name="username">
      <span  class="red">[[${userName}]]</span>
    </div>
    <div class="form-group">
      <label for="address">地址:</label>
      <input  class="form-control" id="address"
       th:placeholder="${session.employeeMsg.addressMsg.a_address}" name="a_address">
    </div>
    <div class="form-group">
      <label for="mobile">移动电话:</label>
      <input  class="form-control" id="mobile"
       th:placeholder="${session.employeeMsg.addressMsg.a_tellphone}" name="a_tellphone">
       <span  class="red">[[${mobile}]]</span>
    </div>
    <div class="form-group">
      <label for="fiexd">固定电话:</label>
      <input  class="form-control" id="fiexd"
       th:placeholder="${session.employeeMsg.addressMsg.a_fixedphone}" name="a_fixedphone">
    </div>
    <div class="form-group">
      <label for="emergency">紧急联系人:</label>
      <input  class="form-control" id="emergency"
       th:placeholder="${session.employeeMsg.addressMsg.a_emergency}" name="a_emergency">
        <label for="email">邮箱:</label>
      <input  class="form-control" id="email"
       th:placeholder="${session.employeeMsg.addressMsg.a_emergency}" name="a_email">
       <span class="red">[[${email}]]</span>
    </div>
    <button type="submit" class="btn btn-primary">修改</button>
  </form>
</div>

</body>
</html>